package com.tengfei.blogsystem.dao;

import com.tengfei.blogsystem.pojo.Settings;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

/**
 * @version v1.0
 * @author} feige
 * @date 2021-10-16-17:06
 * @description
 */
public interface SettingsDao extends JpaRepository<Settings, String>, JpaSpecificationExecutor<Settings> {
    Settings findOneByKey(String key);
}
